package com.lty.jeeg.server.modules.fas.export;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import com.lty.jeeg.server.common.annotation.FieldName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author xuchen
 */
@Data
public class HandOverExportEntity extends BaseRowModel implements Serializable {

    private static final long serialVersionUID = -377244458722465422L;


    /**
     * 调配来货部门名
     */
    @FieldName(value = "原归属部门名")
    @ExcelProperty(value ={"原归属部门名"},index = 0)
    private String deployComeName;

    /**
     * 调配来货人员名
     */
    @FieldName(value = "原归属人名")
    @ExcelProperty(value ={"原归属人名"},index = 1)
    private String handlerName;

    /**
     * 调配配送部门名
     */
    @FieldName(value = "接收部门名")
    @ExcelProperty(value ={"接收部门名"},index = 2)
    private String deployForName;

    /**
     * 调配配送人员名
     */
    @FieldName(value = "接收人名")
    @ExcelProperty(value ={"接收人名"},index = 3)
    private String deployForpeoName;

    /**
     * 类型
     */
    @FieldName(value = "操作类型")
    @ExcelProperty(value ={"操作类型"},index = 4)
    private String handleType;

    /**
     * 商品编码
     */
    @FieldName(value = "商品编码")
    @ExcelProperty(value ={"商品编码"},index = 5)
    private String goodsCode;

    /**
     * 商品名称
     */
    @FieldName(value = "商品名称")
    @ExcelProperty(value ={"商品名称"},index = 6)
    private String goodsName;

    /**
     * 商品规格
     */
    @FieldName(value = "商品规格")
    @ExcelProperty(value ={"商品规格"},index = 7)
    private String detailSpec;

    /**
     * 数量
     */
    @FieldName(value = "数量")
    @ExcelProperty(value ={"数量"},index = 8)
    private Double detailNum;

    /**
     * 商品单位
     */
    @FieldName(value = "单位")
    @ExcelProperty(value ={"单位"},index = 9)
    private String detailUnit;


    /**
     * 单价
     */
    @FieldName(value = "单价")
    @ExcelProperty(value ={"单价"},index = 10)
    private String unitPrice;


    /**
     * 总价
     */
    @FieldName(value = "总价")
    @ExcelProperty(value ={"总价"},index = 11)
    private String totalPrice;

    /**
     * 创建时间
     */
    @FieldName(value = "创建时间")
    @ExcelProperty(value ={"创建时间"},index = 12,format = "yyyy-MM-dd")
    private Date createTime;

}
